package com.byyy.ccts.modules.ysjl.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.byyy.ccts.core.common.entity.AbstractEntity;
import lombok.Data;

import java.sql.Timestamp;

/**
 * @projectName: TODO
 * @package: com.byyy.ccts.modules.ysjl.entity
 * @className: YsjlActivity
 * @description: TODO
 * @author: LYB
 * @Date: 2023/9/3 16:12
 * @updateUser: LYB
 * @updateDate: 2023/9/3 16:12
 * @updateRemark:
 * @version: v1.0
 */
@TableName("T_YSJL_ACTIVITY_FLOW")
@Data
public class YsjlActivityFlow extends AbstractEntity<String> {

    @TableId(value="ID", type = IdType.UUID)
    @TableField(value="ID")
    private String id;
    @TableField(value="ACTIVITY_ID")
    private String activityId;
    @TableField(value="TITLE")
    private String title;
    @TableField(value="SORT")
    private int sort;
    @TableField(value="ADD_TIME")
    @JSONField(format ="yyyy-MM-dd HH:mm:ss")
    private Timestamp addTime;

}
